<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
    This file is part of xulSword.

    Copyright 2009 John Austin (gpl.programs.info@gmail.com)

    xulSword is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 2 of the License, or
    (at your option) any later version.

    xulSword is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with xulSword.  If not, see <http://www.gnu.org/licenses/>.
!-->

<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta name="generator" content="PSPad editor, www.pspad.com">
  <title>Search Frame</title>
  <link rel="stylesheet" href="chrome://xulsword/skin/common/global-htm.css" type="text/css">
  <link rel="stylesheet" href="chrome://xulsword/skin/viewport/popup/popup-htm.css" type="text/css">
  <link rel="stylesheet" href="chrome://xulsword/skin/search/search-htm.css" type="text/css">

  <script>
    var watcher = Components.classes["@mozilla.org/embedcomp/window-watcher;1"].getService(Components.interfaces.nsIWindowWatcher); 
    var XS_window = watcher.getWindowByName("xulsword-window", window);
    var SearchMouse;
  </script>
  
  <script src="chrome://xulsword/content/common/common0.js" type="text/javascript"></script>
  <script src="chrome://xulsword/content/common/common1.js" type="text/javascript"></script>
  <script src="chrome://xulsword/content/viewport/popup/popup.js" type="text/javascript"></script>
  <script src="chrome://xulsword/content/search/searchMouse.js" type="text/javascript"></script>
  
  <script>
    
  function load() {
    if (document === XS_window.document.getElementById("printBrowser").contentDocument) {
			// then we are printing...
			document.getElementsByTagName("body")[0].setAttribute("print", "true");
			XS_window.printBrowserLoaded();
			return;
		}
		
		Popup = new PopupObj();
  }

  </script>

  </head>
  
  <body class="searchres" print="false" 
        onload="initCSS(); load();" 
        ondblclick="SearchMouse.DblClick(event);">
    
    <div id="search-content" hasLexicon="false">
      
      <div id="lexiconBox" onmouseover="SearchMouse.popupOver(event)" onmouseout="SearchMouse.popupOut(event)"></div>
    
      <div id="searchBox"></div>
    
    </div>
    
    <div id="npopup" class="userFontSize cs-Program" isWindow="false" puptype="fn">
			
			<!-- used for relative positioning of popup !-->
			<div id="npopupRL">
				
				<!-- used for absolute positioning of popup box !-->
				<div id="npopupBOX"> 
				
					<!-- used for popup text container !-->
					<div id="npopupTX"
						onclick="SearchMouse.popupClick(event)"
						onmousedown="Popup.drag('down', event);"
						onmousemove="Popup.drag('move', event);"
						onmouseup  ="Popup.drag('up',   event);">
					</div>
				</div>
			</div>
		</div>
    
  </body>
  
</html>
